<template>
  <a>
    <div class="backBtn" @click="handleClose">
      <i class="el-icon-back"></i>
    </div>
  </a>
</template>

<script>
export default {
  methods: {
    handleClose() {
      this.$emit('myClose')
    }
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
 .backBtn{
    position: absolute;
    right: 0px;
    top: 0px;
    // border-color:#4796EC;
    // background-color:#4796EC;
    height:0px;
    width:0px;
    border-top:20px solid #00C0EF;
    border-right:20px solid #00C0EF;
    border-bottom:20px solid transparent;
    border-left:20px solid transparent;
    border-top-right-radius:5px;
    i{
        position: absolute;
        top: -13px;
        color: #fff;

    }
}
</style>
